package xyz.yuanjilu.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import xyz.yuanjilu.dao.GroupWebSiteDao;
import xyz.yuanjilu.entity.GroupWebSiteEntity;
import xyz.yuanjilu.service.GroupWebSiteService;



@Service("groupWebSiteService")
public class GroupWebSiteServiceImpl implements GroupWebSiteService {
	@Autowired
	private GroupWebSiteDao groupWebSiteDao;
	
	@Override
	public GroupWebSiteEntity queryObject(Long id){
		return groupWebSiteDao.queryObject(id);
	}
	
	@Override
	public List<GroupWebSiteEntity> queryList(Map<String, Object> map){
		return groupWebSiteDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return groupWebSiteDao.queryTotal(map);
	}
	
	@Override
	public void save(GroupWebSiteEntity groupWebSite){
		groupWebSiteDao.save(groupWebSite);
	}
	
	@Override
	public void update(GroupWebSiteEntity groupWebSite){
		groupWebSiteDao.update(groupWebSite);
	}
	
	@Override
	public void delete(Long id){
		groupWebSiteDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		groupWebSiteDao.deleteBatch(ids);
	}
	
}
